This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[webview_flutter] Add iOS integration tests #3995
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmagman
commented
Jun 1, 2021
Comment on lines
-406
to
-420
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
CLANG_ENABLE_OBJC_WEAK = YES; | ||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; | ||
CODE_SIGN_STYLE = Automatic; | ||
GCC_C_LANGUAGE_STANDARD = gnu11; | ||
INFOPLIST_FILE = RunnerUITests/Info.plist; | ||
IPHONEOS_DEPLOYMENT_TARGET = 13.2; | ||
INFOPLIST_FILE = RunnerTests/Info.plist; | ||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | ||
MTL_FAST_MATH = YES; | ||
PRODUCT_BUNDLE_IDENTIFIER = "com.google.webview-flutter-exampleTests"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
TARGETED_DEVICE_FAMILY = "1,2"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These test target build settings didn't need to be overridden from the project-level build settings.
@@ -1,52 +0,0 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This scheme is unnecessary, the CI tests use the test action of the Runner
scheme (which runs the UI and unit tests).
github-actions
bot
added
the
p: webview_flutter
Edits files for a webview_flutter plugin
label
Jun 1, 2021
stuartmorgan
approved these changes
Jun 2, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
stuartmorgan
added
the
waiting for tree to go green
(Use "autosubmit") This PR is approved and tested, but waiting for the tree to be green to land.
label
Jun 2, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jun 2, 2021
fluttergithubbot
pushed a commit
to flutter/flutter
that referenced
this pull request
Jun 2, 2021
fotiDim
pushed a commit
to fotiDim/plugins
that referenced
this pull request
Sep 13, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
cla: yes
p: webview_flutter
Edits files for a webview_flutter plugin
platform-ios
waiting for tree to go green
(Use "autosubmit") This PR is approved and tested, but waiting for the tree to be green to land.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RunnerUITests
->RunnerTests
since they weren't UI tests, they were actually unit (XCTest) tests.RunnerUITests
test target, and tests for the user agent and adding values to the cache.webview_flutter part of flutter/flutter#83357
https://cirrus-ci.com/task/5192127203246080?logs=xctest#L1836
Pre-launch Checklist
dart format
. See plugin_tool format)[shared_preferences]
///
).